package com.gxa.entity.discrepancy;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-12 11:37:05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_alarm")
@ApiModel(value = "Alarm对象", description = "")
public class Alarm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("人员告警记录表id ")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("告警编号 ")
    @TableField("alarm_number")
    private String alarmNumber;

    @ApiModelProperty("告警内容 ")
    @TableField("alarm_note")
    private String alarmNote;

    @ApiModelProperty("告警时间 ")
    @TableField("alarm_time")
    private Date alarmTime;

    @ApiModelProperty("抓拍图片 ")
    @TableField("alarm_pic")
    private String alarmPic;

    @ApiModelProperty("设备id ")
    @TableField("device_details_id")
    private Integer deviceDetailsId;

    @ApiModelProperty("用户id ")
    @TableField("user_list_id")
    private Integer userListId;

    @TableLogic
    @TableField("is_delete")
    private Integer isDelete;

    @ApiModelProperty("设备名称")
    @TableField("device_name")
    private String deviceName;

    @ApiModelProperty("设备位置 ")
    @TableField("location")
    private String location;

    @ApiModelProperty("人员姓名 ")
    @TableField("user_name")
    private String userName;


}
